#include "RevanClient.h"
#include "ClientManager.h"
#include "FileMonitor.h"
#include "config.h"

using namespace std;

ClientManager::ClientManager(int port,string serverIP):RevanClient(port,serverIP)
{
	Start();
	Connect();		
}

ClientManager::~ClientManager()
{
}


int ClientManager::sendFilesList()
{
	FileMonitor flmList;
	if(flmList.readDirectory("share")==true)
		sendMsg(flmList.getFileList());
	return 0;
} 